﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Admin/Admin.master" AutoEventWireup="true" Inherits="GMS.Pages_Admin_Price" Codebehind="Price.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <div>
            <div>
                Enter BackSplash Price:
                <asp:TextBox ID="txtBackSplash" runat="server"></asp:TextBox>
            </div>
            <div>
                Enter SinkCutOut Price:
                <asp:TextBox ID="txtSinkCutOut" runat="server"></asp:TextBox>
            </div>
            <div>
                Enter Tax:
                <asp:TextBox ID="txtTax" runat="server"></asp:TextBox>
            </div>
            <br />
            <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="btnAdd_Click" />
        </div>
        <br />
        <div>
            <asp:GridView ID="gvPrice" runat="server" BackColor="White" BorderColor="#DEDFDE"
                BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical"
                AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="Id"
                DataSourceID="lds" PageSize="10">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" HeaderText="Operations" />
                    <asp:BoundField DataField="Id" HeaderText="Id" InsertVisible="False" ReadOnly="True"
                        SortExpression="Id" />
                    <asp:BoundField DataField="BackSplash" HeaderText="BackSplash" SortExpression="BackSplash" />
                    <asp:BoundField DataField="SinkCutOut" HeaderText="SinkCutOut" SortExpression="SinkCutOut" />
                    <asp:BoundField DataField="Tax" HeaderText="Tax" SortExpression="Tax" />
                    <asp:CheckBoxField DataField="IsActive" HeaderText="IsActive" SortExpression="IsActive" />
                    <asp:BoundField DataField="ModifiedDate" HeaderText="ModifiedDate" SortExpression="ModifiedDate"
                        ReadOnly="true" />
                    <asp:BoundField DataField="CreationDate" HeaderText="CreationDate" SortExpression="CreationDate"
                        ReadOnly="true" />
                </Columns>
                <FooterStyle BackColor="#CCCC99" />
                <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                <RowStyle BackColor="#F7F7DE" />
                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#FBFBF2" />
                <SortedAscendingHeaderStyle BackColor="#848384" />
                <SortedDescendingCellStyle BackColor="#EAEAD3" />
                <SortedDescendingHeaderStyle BackColor="#575357" />
            </asp:GridView>
            <asp:LinqDataSource ID="lds" runat="server" ContextTypeName="DAL.DataClasses1DataContext"
                EnableDelete="True" EnableInsert="True" EnableUpdate="True" EntityTypeName=""
                TableName="Prices">
            </asp:LinqDataSource>
        </div>
    </div>
</asp:Content>
